trigger CalculateSubTotalValue on Order_Item__c (before insert) 
{
    if (trigger.new.size() > 0)
    {
        for (Order_Item__c orderItem : trigger.new)
        {
            orderItem.Value__c = orderItem.OrderNumber__c * orderItem.Price_after_tax__c;
        }
    }
}